<?php 
defined('_JEXEC') or die('Restricted access');
$editor=& JFactory::getEditor();
$db = &JFactory::getDBO();
$productid = $this->detail->product_id;
?>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<table class="admintable" style="min-heigh:500px;">	
    <tr>
        <td width="50" align="right" class="key">
            <label for="title">
                <?php echo JText::_( 'Name' ); ?>:
            </label>
        </td>
        <td colspan="3">
            <input class="text_area" type="text" name="title" id="title" size="62" maxlength="250" value="<?php echo $this->detail->title;?>" />
        </td>
    </tr>
    <!-- Upload hinh anh  -->
    <tr>
        <td valign="top" width="50" align="right" class="key">
            <label for="title">
                <?php echo JText::_( 'Tải lên file Pdf' ); ?>:
            </label>
        </td>
        <td colspan="3">
            <img src="../uploads/products/thumbs/<?php echo $this->detail->image;?>" alt="<?php echo $this->detail->image;?>" width="100"/><span style="color:#999; font-size:15px;margin-left:20px;"></span><br />
            <input class="text_area" type="file" name="image" id="image" size="60" maxlength="250" />
        </td>
    </tr>	
    <tr>
        <td valign="top" align="right" class="key">
            <label for="catid">
                <?php echo JText::_( 'Danh mục' ); ?>:
            </label>
        </td>
        <td colspan="3">
            <?php echo $this->lists['sel']; ?>
        </td>    
    </tr>   
    <table class="admintable" style="min-heigh:500px;">     
	<tr>
        <td valign="top" align="right" class="key">
            <?php echo JText::_( 'Published' ); ?>:
        </td>
        <td colspan="3">
            <?php echo $this->lists['published']; ?>
        </td>
	</tr>  
   
     
</table>
<input type="hidden" name="oldimage" value="<?php echo $this->detail->image;?>"  />
